package utils

import (
	"os"
	"os/exec"
	"strings"
)

func RootPath() string {
	s, e := exec.LookPath(os.Args[0])
	if e != nil {
	}
	i := strings.LastIndex(s, "\\")
	path := s[0 : i+1]
	return path
}
